package com.hk.model;

/**
 * @Author: KangWang
 * Date: 2021/5/18 17:26
 * State：公共图片
 */
public class Image {

    private int imgId;
    private String imgUrl;//图片路径
    private String imgTitle;//图片说明
    private int companyId;//图片所属公司简介ID
    private int nPublicId;//图片所属新闻ID
    private int displayId;//图片所属产品ID
    private int mPublicId;//图片所属留言ID
    private int usId;//图片所属联系我们ID

    public int getImgId() {
        return imgId;
    }

    public void setImgId(int imgId) {
        this.imgId = imgId;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getImgTitle() {
        return imgTitle;
    }

    public void setImgTitle(String imgTitle) {
        this.imgTitle = imgTitle;
    }

    public int getCompanyId() {
        return companyId;
    }

    public void setCompanyId(int companyId) {
        this.companyId = companyId;
    }

    public int getnPublicId() {
        return nPublicId;
    }

    public void setnPublicId(int nPublicId) {
        this.nPublicId = nPublicId;
    }

    public int getDisplayId() {
        return displayId;
    }

    public void setDisplayId(int displayId) {
        this.displayId = displayId;
    }

    public int getmPublicId() {
        return mPublicId;
    }

    public void setmPublicId(int mPublicId) {
        this.mPublicId = mPublicId;
    }

    public int getUsId() {
        return usId;
    }

    public void setUsId(int usId) {
        this.usId = usId;
    }

    public Image(int imgId, String imgUrl, String imgTitle, int companyId, int nPublicId, int displayId, int mPublicId, int usId) {
        this.imgId = imgId;
        this.imgUrl = imgUrl;
        this.imgTitle = imgTitle;
        this.companyId = companyId;
        this.nPublicId = nPublicId;
        this.displayId = displayId;
        this.mPublicId = mPublicId;
        this.usId = usId;
    }

    public Image() {

    }

    @Override
    public String toString() {
        return "Image{" +
                "imgId=" + imgId +
                ", imgUrl='" + imgUrl + '\'' +
                ", imgTitle='" + imgTitle + '\'' +
                ", companyId=" + companyId +
                ", nPublicId=" + nPublicId +
                ", displayId=" + displayId +
                ", mPublicId=" + mPublicId +
                ", usId=" + usId +
                '}';
    }
}
